<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Closing</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="parallel-channel.send.html">« parallel\Channel::send</a></li>
      <li style="float: right;"><a href="class.parallel-events.html">parallel\Events »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.parallel-channel.html">parallel\Channel</a></li>
    <li>Closing</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="parallel-channel.close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">parallel\Channel::close</h1>
  <p class="verinfo">(0.9.0)</p><p class="refpurpose"><span class="refname">parallel\Channel::close</span> &mdash; <span class="dc-title">Closing</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-parallel-channel.close-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>parallel\Channel::close</strong></span>(): <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   Shall close this channel
  </p>

 </div>


 <div class="refsect1 exceptions" id="refsect1-parallel-channel.close-exceptions">
  <h3 class="title">Exceptions</h3>
  <div class="warning"><strong class="warning">警告</strong>
   <p class="para">
    Shall throw <span class="type"><span class="type parallel\Channel\Error\Closed">parallel\Channel\Error\Closed</span></span> if channel is closed.
   </p>
  </div>
 </div>


</div></div></div></body></html>